Making Requests
The BlinkReceipt Scan API supports two primary input methods for processing receipts:
- Image Assets (Multipart Form-Data): Allows direct upload of receipt image files.
- Image URLs (Application/x-www-form-urlencoded): Allows processing of receipt images via URLs.
Endpoint
POST https://api.blinkreceipt.com/v14
Image Assets (Multipart Form-Data)
Use this method to upload images directly from your application.
Required Parameters
| Parameter | Type | Description |
|---|---|---|
license_key | string | Your BlinkReceipt API license key. |
image | binary | PNG or JPEG image of a receipt (max size: 10 MB). |
frame_idx | integer | The frame index for multi-frame receipts (starting at 1). |
last_frame | boolean | Marks the last frame in a multi-frame session or indicates single-frame receipts. |
Image URLs (Application/x-www-form-urlencoded)
Use this method to pass URLs pointing to receipt images.
Required Parameters
| Parameter | Type | Description |
|---|---|---|
license_key | string | Your BlinkReceipt API license key. |
image_urls[0] | string | Publicly accessible URL of the receipt image. |
detect_duplicates | boolean | Enables duplicate detection for submitted receipts. |